import request from "./request";

// 标签相关接口
export const getTags = (params = {}) => request.get("/tag/list", { params });

export const saveOrUpdateTag = (data) => request.post("/tag", data);

export const deleteTag = (data = []) => request.delete("/tag", { data });

export const getTagOption = () => request.get("/tag/option");
